package com.mbc.rmt.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import com.mbc.rmt.entities.CashRemittanceToAgentDetail;

public interface CashRemittanceToAgentDetailDAO {
	void create(CashRemittanceToAgentDetail entity)throws SQLException;
	void delete(long key)throws SQLException;
	void deleteByHeaderReceiptID(long headerKey)throws SQLException;
	public CashRemittanceToAgentDetail find(long key)throws SQLException;
	ArrayList<CashRemittanceToAgentDetail> findByHeaderReceiptID(long headerKey)throws SQLException;
	ArrayList<CashRemittanceToAgentDetail> loadConfirmed(String agentCode, long paymentCurrencyID, long receivedCurrencyId)throws SQLException;
}
